import request from './request'

// 获取全部评论列表
export const getallcommentlist = (params) => {
  return request({
    url: '/getallcommentlist',
    method: 'GET',
    params
  })
}

// 修改评论状态
export const setcomment = (data) => {
  return request({
    url: '/setcomment',
    method: 'POST',
    data
  })
}

// 删除评论
export const delcomment = (data) => {
  return request({
    url: '/delcomment',
    method: 'POST',
    data
  })
}
